
package org.caro.utils;

public class Constants {
    public static final int MAX_ROWS = 20;
    public static final int MAX_COLUMNS = 20;
    public static final int PLAYER1 = 1;
    public static final int PLAYER2 = 2;
    public static final int NULL = 0;
    
    public static final String TURN = "src/org/caro/resource/check.png";
    public static final String IMAGE_PLAYER_1 = "src/org/caro/resource/x.png";
    public static final String IMAGE_PLAYER_2 = "src/org/caro/resource/o.png";
    
    /*
     * Port config
     */
    public static final int PORT_SEND_BY_SERVER = 16124;
    public static final int PORT_RECEIVE_BY_SERVER = 16125;
    public static final int PORT_SEND_BY_CLIENT= 16125;
    public static final int PORT_RECEIVE_BY_CLIENT = 16124;
    
    
    public static final int PORT_CHAT_SEND_HOST = 3367;
    public static final int PORT_CHAT_RECV_HOST = 3368;
    public static final int PORT_HIT_SEND_HOST = 3369;
    public static final int PORT_HIT_RECV_HOST = 3370;
    
    public static final int PORT_CHAT_SEND_CLIENT = 3368;
    public static final int PORT_CHAT_RECV_CLIENT = 3367;
    public static final int PORT_HIT_SEND_CLIENT = 3370;
    public static final int PORT_HIT_RECV_CLIENT = 3369;
    
    /*
     * End of Port config
     */
    /*
     * CONTROL
     */
    public static final String WINNER = "WINNER";
    public static final String LOSE = "LOSE";
    public static final String NEW_GAME = "NEW GAME";
    public static final String ACCEPT  = "ACCEPT";
    public static final String IGNORE = "DON'T ACCEPT";
    /*
     * END OF CONTROL
     */
    
    /*
     * CONTESTANT
     */
    public static final int HOST = 1;
    public static final int CLIENT = 2;
    /*
     * END OF CONTESTANT
     */
    /*
     * GAME MODE
     */
    public static final int AI_MODE = 1;
    public static final int LAN_MODE = 2;
    /*
     * 
     */
    
}
